<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <title>Usage - Zend Framework Manual</title>

    <link href="../css/shCore.css" rel="stylesheet" type="text/css" />
    <link href="../css/shThemeDefault.css" rel="stylesheet" type="text/css" />
    <link href="../css/styles.css" media="all" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>Zend Framework</h1>
<h2>Programmer's Reference Guide</h2>
<ul>
    <li><a href="../en/zend.paginator.usage.html">Inglês (English)</a></li>
    <li><a href="../pt-br/zend.paginator.usage.html">Português Brasileiro (Brazilian Portuguese)</a></li>
</ul>
<table width="100%">
    <tr valign="top">
        <td width="85%">
            <table width="100%">
                <tr>
                    <td width="25%" style="text-align: left;">
                    <a href="zend.paginator.introduction.html">Introduction</a>
                    </td>

                    <td width="50%" style="text-align: center;">
                        <div class="up"><span class="up"><a href="zend.paginator.html">Zend_Paginator</a></span><br />
                        <span class="home"><a href="manual.html">Programmer's Reference Guide</a></span></div>
                    </td>

                    <td width="25%" style="text-align: right;">
                        <div class="next" style="text-align: right; float: right;"><a href="zend.paginator.configuration.html">Configuration</a></div>
                    </td>
                </tr>
            </table>
<hr />
<div id="zend.paginator.usage" class="section"><div class="info"><h1 class="title">Usage</h1></div>
    

    <div class="section" id="zend.paginator.usage.paginating"><div class="info"><h1 class="title">Paginating data collections</h1></div>
        

        <p class="para">
            In order to paginate items into pages, <span class="classname">Zend_Paginator</span>
            must have a generic way of accessing that data. For that reason,
            all data access takes place through data source adapters. Several
            adapters ship with Zend Framework by default:
        </p>

        <table id="zend.paginator.usage.paginating.adapters" class="doctable table"><div class="info"><caption><b>Adapters for Zend_Paginator</b></caption></div>
            

            
                <thead valign="middle">
                    <tr valign="middle">
                        <th>Adapter</th>
                        <th>Description</th>
                    </tr>

                </thead>


                <tbody valign="middle" class="tbody">
                    <tr valign="middle">
                        <td align="left">Array</td>
                        <td align="left">Use a <acronym class="acronym">PHP</acronym> array</td>
                    </tr>


                    <tr valign="middle">
                        <td align="left">DbSelect</td>

                        <td align="left">
                            Use a <a href="zend.db.select.html" class="link"><span class="classname">Zend_Db_Select</span></a>
                            instance, which will return an array
                        </td>
                    </tr>


                    <tr valign="middle">
                        <td align="left">DbTableSelect</td>

                        <td align="left">
                            Use a <a href="zend.db.table.html#zend.db.table.fetch-all" class="link"><span class="classname">Zend_Db_Table_Select</span></a>
                            instance, which will return an instance of
                            <span class="classname">Zend_Db_Table_Rowset_Abstract</span>.
                            This provides additional information about the
                            result set, such as column names.
                        </td>
                    </tr>


                    <tr valign="middle">
                        <td align="left">Iterator</td>

                        <td align="left">
                            Use an <a href="http://www.php.net/~helly/php/ext/spl/interfaceIterator.html" class="link external">&raquo; <span class="classname">Iterator</span></a>
                            instance
                        </td>
                    </tr>


                    <tr valign="middle">
                        <td align="left">Null</td>

                        <td align="left">
                            Do not use <span class="classname">Zend_Paginator</span> to manage
                            data pagination. You can still take advantage of
                            the pagination control feature.
                        </td>
                    </tr>

                </tbody>
            
        </table>


        <blockquote class="note"><p><b class="note">Note</b>: 
            <p class="para">
                Instead of selecting every matching row of a given query, the
                DbSelect and DbTableSelect adapters retrieve only the smallest
                amount of data necessary for displaying the current page.
            </p>

            <p class="para">
                Because of this, a second query is dynamically generated to
                determine the total number of matching rows. However, it is
                possible to directly supply a count or count query yourself.
                See the  <span class="methodname">setRowCount()</span> method in the DbSelect
                adapter for more information.
            </p>
        </p></blockquote>

        <p class="para">
            To create an instance of <span class="classname">Zend_Paginator</span>, you must
            supply an adapter to the constructor:
        </p>

        <pre class="programlisting brush: php">
$paginator = new Zend_Paginator(new Zend_Paginator_Adapter_Array($array));
</pre>


        <p class="para">
            For convenience, you may take advantage of the static
             <span class="methodname">factory()</span> method for the adapters packaged with Zend
            Framework:
        </p>

        <pre class="programlisting brush: php">
$paginator = Zend_Paginator::factory($array);
</pre>


        <blockquote class="note"><p><b class="note">Note</b>: 
            <p class="para">
                In the case of the <span class="classname">Null</span> adapter, in lieu of a data collection
                you must supply an item count to its constructor.
            </p>
        </p></blockquote>

        <p class="para">
            Although the instance is technically usable in this state, in your
            controller action you&#039;ll need to tell the paginator what page
            number the user requested. This allows him to advance through the
            paginated data.
        </p>

        <pre class="programlisting brush: php">
$paginator-&gt;setCurrentPageNumber($page);
</pre>


        <p class="para">
            The simplest way to keep track of this value is through a <acronym class="acronym">URL</acronym>.
            Although we recommend using a
            <span class="classname">Zend_Controller_Router_Interface</span>-compatible
            router to handle this, it is not a requirement.
        </p>

        <p class="para">
            The following is an example route you might use in an <acronym class="acronym">INI</acronym>
            configuration file:
        </p>

        <pre class="programlisting brush: php">
routes.example.route = articles/:articleName/:page
routes.example.defaults.controller = articles
routes.example.defaults.action = view
routes.example.defaults.page = 1
routes.example.reqs.articleName = \w+
routes.example.reqs.page = \d+
</pre>


        <p class="para">
            With the above route (and using Zend Framework <acronym class="acronym">MVC</acronym> components),
            you might set the current page number like this:
        </p>

        <pre class="programlisting brush: php">
$paginator-&gt;setCurrentPageNumber($this-&gt;_getParam(&#039;page&#039;));
</pre>


        <p class="para">
            There are other options available; see
            <a href="zend.paginator.configuration.html" class="link">Configuration</a>
            for more on them.
        </p>

        <p class="para">
            Finally, you&#039;ll need to assign the paginator instance to your view.
            If you&#039;re using <span class="classname">Zend_View</span> with the ViewRenderer action
            helper, the following will work:
        </p>

        <pre class="programlisting brush: php">
$this-&gt;view-&gt;paginator = $paginator;
</pre>

    </div>

    <div class="section" id="zend.paginator.usage.dbselect"><div class="info"><h1 class="title">The DbSelect and DbTableSelect adapter</h1></div>
        

        <p class="para">
            The usage of most adapters is pretty straight-forward. However, the
            database adapters require a more detailed explanation regarding
            the retrieval and count of the data from the database.
        </p>

        <p class="para">
            To use the DbSelect and DbTableSelect adapters you don&#039;t have to retrieve the data
            upfront from the database. Both adapters do the retrieval for you, aswell as the
            counting of the total pages. If additional work has to be done on the database results
            the adapter  <span class="methodname">getItems()</span> method has to be extended in your
            application.
        </p>

        <p class="para">
            Additionally these adapters do <em class="emphasis">not</em> fetch all records from the
            database in order to count them. Instead, the adapters manipulates the original query to
            produce the corresponding COUNT query. Paginator then executes that COUNT query to get
            the number of rows. This does require an extra round-trip to the database, but this is
            many times faster than fetching an entire result set and using
             <span class="methodname">count()</span>. Especially with large collections of data.
        </p>

        <p class="para">
            The database adapters will try and build the most efficient query that will execute
            on pretty much all modern databases. However, depending on your database or even your
            own schema setup, there might be more efficient ways to get a rowcount. For this
            scenario the database adapters allow you to set a custom COUNT query. For example,
            if you keep track of the count of blog posts in a separate table, you could achieve a
            faster count query with the following setup:
        </p>

        <pre class="programlisting brush: php">
$adapter = new Zend_Paginator_Adapter_DbSelect($db-&gt;select()-&gt;from(&#039;posts&#039;));
$adapter-&gt;setRowCount(
    $db-&gt;select()
       -&gt;from(
            &#039;item_counts&#039;,
            array(
               Zend_Paginator_Adapter_DbSelect::ROW_COUNT_COLUMN =&gt; &#039;post_count&#039;
            )
         )
);

$paginator = new Zend_Paginator($adapter);
</pre>


        <p class="para">
            This approach will probably not give you a huge performance gain on
            small collections and/or simple select queries. However, with complex
            queries and large collections, a similar approach could give you a
            significant performance boost.
        </p>
    </div>

    <div class="section" id="zend.paginator.rendering"><div class="info"><h1 class="title">Rendering pages with view scripts</h1></div>
        

        <p class="para">
            The view script is used to render the page items (if you&#039;re using
            <span class="classname">Zend_Paginator</span> to do so) and display the pagination
            control.
        </p>

        <p class="para">
            Because <span class="classname">Zend_Paginator</span> implements the <acronym class="acronym">SPL</acronym>
            interface <a href="http://www.php.net/~helly/php/ext/spl/interfaceIteratorAggregate.html" class="link external">&raquo; <span class="classname">IteratorAggregate</span></a>,
            looping over your items and displaying them is simple.
        </p>

        <pre class="programlisting brush: php">
&lt;html&gt;
&lt;body&gt;
&lt;h1&gt;Example&lt;/h1&gt;
&lt;?php if (count($this-&gt;paginator)): ?&gt;
&lt;ul&gt;
&lt;?php foreach ($this-&gt;paginator as $item): ?&gt;
  &lt;li&gt;&lt;?php echo $item; ?&gt;&lt;/li&gt;
&lt;?php endforeach; ?&gt;
&lt;/ul&gt;
&lt;?php endif; ?&gt;

&lt;?php echo $this-&gt;paginationControl($this-&gt;paginator,
                                    &#039;Sliding&#039;,
                                    &#039;my_pagination_control.phtml&#039;); ?&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>


        <p class="para">
            Notice the view helper call near the end. PaginationControl
            accepts up to four parameters: the paginator instance, a scrolling
            style, a view partial, and an array of additional parameters.
        </p>

        <p class="para">
            The second and third parameters are very important. Whereas the
            view partial is used to determine how the pagination control should
            <em class="emphasis">look</em>, the scrolling style is used to control
            how it should <em class="emphasis">behave</em>. Say the view partial is
            in the style of a search pagination control, like the one below:
        </p>

        <p class="para">
            <div class="inlinemediaobject"><div class="imageobject"><img src="images/d481d625821a97b9a5eb2cec99dca50e-zend.paginator.usage.rendering.control.png" alt="zend.paginator.usage.rendering.control.png" width="337" height="36" /></div></div>
        </p>

        <p class="para">
            What happens when the user clicks the &quot;next&quot; link a few times?
            Well, any number of things could happen. The current page number
            could stay in the middle as you click through (as it does on
            Yahoo!), or it could advance to the end of the page range and then
            appear again on the left when the user clicks &quot;next&quot; one more time.
            The page numbers might even expand and contract as the user
            advances (or &quot;scrolls&quot;) through them (as they do on Google).
        </p>

        <p class="para">
            There are four scrolling styles packaged with Zend Framework:
        </p>

        <table id="zend.paginator.usage.rendering.scrolling-styles" class="doctable table"><div class="info"><caption><b>Scrolling styles for Zend_Paginator</b></caption></div>
            

            
                <thead valign="middle">
                    <tr valign="middle">
                        <th>Scrolling style</th>
                        <th>Description</th>
                    </tr>

                </thead>


                <tbody valign="middle" class="tbody">
                    <tr valign="middle">
                        <td align="left">All</td>

                        <td align="left">
                            Returns every page. This is useful for dropdown
                            menu pagination controls with relatively few
                            pages. In these cases, you want all pages
                            available to the user at once.
                        </td>
                    </tr>


                    <tr valign="middle">
                        <td align="left">Elastic</td>

                        <td align="left">
                            A Google-like scrolling style that expands and
                            contracts as a user scrolls through the pages.
                        </td>
                    </tr>


                    <tr valign="middle">
                        <td align="left">Jumping</td>

                        <td align="left">
                            As users scroll through, the page number advances
                            to the end of a given range, then starts again at
                            the beginning of the new range.
                        </td>
                    </tr>


                    <tr valign="middle">
                        <td align="left">Sliding</td>

                        <td align="left">
                            A Yahoo!-like scrolling style that positions the
                            current page number in the center of the page
                            range, or as close as possible. This is the
                            default style.
                        </td>
                    </tr>

                </tbody>
            
        </table>


        <p class="para">
            The fourth and final parameter is reserved for an optional
            associative array of additional variables that you want available
            in your view partial (available via <var class="varname">$this</var>). For
            instance, these values could include extra <acronym class="acronym">URL</acronym> parameters for
            pagination links.
        </p>

        <p class="para">
            By setting the default view partial, default
            scrolling style, and view instance, you can eliminate the calls to
            PaginationControl completely:
        </p>

        <pre class="programlisting brush: php">
Zend_Paginator::setDefaultScrollingStyle(&#039;Sliding&#039;);
Zend_View_Helper_PaginationControl::setDefaultViewPartial(
    &#039;my_pagination_control.phtml&#039;
);
$paginator-&gt;setView($view);
</pre>


        <p class="para">
            When all of these values are set, you can render the pagination
            control inside your view script with a simple echo statement:
        </p>

        <pre class="programlisting brush: php">
&lt;?php echo $this-&gt;paginator; ?&gt;
</pre>


        <blockquote class="note"><p><b class="note">Note</b>: 
            <p class="para">
                Of course, it&#039;s possible to use <span class="classname">Zend_Paginator</span>
                with other template engines. For example, with Smarty you
                might do the following:
            </p>

            <pre class="programlisting brush: php">
$smarty-&gt;assign(&#039;pages&#039;, $paginator-&gt;getPages());
</pre>


            <p class="para">
                You could then access paginator values from a template like so:
            </p>

            <pre class="programlisting brush: php">
{$pages-&gt;pageCount}
</pre>

        </p></blockquote>

        <div class="section" id="zend.paginator.usage.rendering.example-controls"><div class="info"><h1 class="title">Example pagination controls</h1></div>
            

            <p class="para">
                The following example pagination controls will hopefully help
                you get started:
            </p>

            <p class="para">
                Search pagination:
            </p>

            <pre class="programlisting brush: php">
&lt;!--
See http://developer.yahoo.com/ypatterns/pattern.php?pattern=searchpagination
--&gt;

&lt;?php if ($this-&gt;pageCount): ?&gt;
&lt;div class=&quot;paginationControl&quot;&gt;
&lt;!-- Previous page link --&gt;
&lt;?php if (isset($this-&gt;previous)): ?&gt;
  &lt;a href=&quot;&lt;?php echo $this-&gt;url(array(&#039;page&#039; =&gt; $this-&gt;previous)); ?&gt;&quot;&gt;
    &amp;lt; Previous
  &lt;/a&gt; |
&lt;?php else: ?&gt;
  &lt;span class=&quot;disabled&quot;&gt;&amp;lt; Previous&lt;/span&gt; |
&lt;?php endif; ?&gt;

&lt;!-- Numbered page links --&gt;
&lt;?php foreach ($this-&gt;pagesInRange as $page): ?&gt;
  &lt;?php if ($page != $this-&gt;current): ?&gt;
    &lt;a href=&quot;&lt;?php echo $this-&gt;url(array(&#039;page&#039; =&gt; $page)); ?&gt;&quot;&gt;
        &lt;?php echo $page; ?&gt;
    &lt;/a&gt; |
  &lt;?php else: ?&gt;
    &lt;?php echo $page; ?&gt; |
  &lt;?php endif; ?&gt;
&lt;?php endforeach; ?&gt;

&lt;!-- Next page link --&gt;
&lt;?php if (isset($this-&gt;next)): ?&gt;
  &lt;a href=&quot;&lt;?php echo $this-&gt;url(array(&#039;page&#039; =&gt; $this-&gt;next)); ?&gt;&quot;&gt;
    Next &amp;gt;
  &lt;/a&gt;
&lt;?php else: ?&gt;
  &lt;span class=&quot;disabled&quot;&gt;Next &amp;gt;&lt;/span&gt;
&lt;?php endif; ?&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;
</pre>


            <p class="para">
                Item pagination:
            </p>

            <pre class="programlisting brush: php">
&lt;!--
See http://developer.yahoo.com/ypatterns/pattern.php?pattern=itempagination
--&gt;

&lt;?php if ($this-&gt;pageCount): ?&gt;
&lt;div class=&quot;paginationControl&quot;&gt;
&lt;?php echo $this-&gt;firstItemNumber; ?&gt; - &lt;?php echo $this-&gt;lastItemNumber; ?&gt;
of &lt;?php echo $this-&gt;totalItemCount; ?&gt;

&lt;!-- First page link --&gt;
&lt;?php if (isset($this-&gt;previous)): ?&gt;
  &lt;a href=&quot;&lt;?php echo $this-&gt;url(array(&#039;page&#039; =&gt; $this-&gt;first)); ?&gt;&quot;&gt;
    First
  &lt;/a&gt; |
&lt;?php else: ?&gt;
  &lt;span class=&quot;disabled&quot;&gt;First&lt;/span&gt; |
&lt;?php endif; ?&gt;

&lt;!-- Previous page link --&gt;
&lt;?php if (isset($this-&gt;previous)): ?&gt;
  &lt;a href=&quot;&lt;?php echo $this-&gt;url(array(&#039;page&#039; =&gt; $this-&gt;previous)); ?&gt;&quot;&gt;
    &amp;lt; Previous
  &lt;/a&gt; |
&lt;?php else: ?&gt;
  &lt;span class=&quot;disabled&quot;&gt;&amp;lt; Previous&lt;/span&gt; |
&lt;?php endif; ?&gt;

&lt;!-- Next page link --&gt;
&lt;?php if (isset($this-&gt;next)): ?&gt;
  &lt;a href=&quot;&lt;?php echo $this-&gt;url(array(&#039;page&#039; =&gt; $this-&gt;next)); ?&gt;&quot;&gt;
    Next &amp;gt;
  &lt;/a&gt; |
&lt;?php else: ?&gt;
  &lt;span class=&quot;disabled&quot;&gt;Next &amp;gt;&lt;/span&gt; |
&lt;?php endif; ?&gt;

&lt;!-- Last page link --&gt;
&lt;?php if (isset($this-&gt;next)): ?&gt;
  &lt;a href=&quot;&lt;?php echo $this-&gt;url(array(&#039;page&#039; =&gt; $this-&gt;last)); ?&gt;&quot;&gt;
    Last
  &lt;/a&gt;
&lt;?php else: ?&gt;
  &lt;span class=&quot;disabled&quot;&gt;Last&lt;/span&gt;
&lt;?php endif; ?&gt;

&lt;/div&gt;
&lt;?php endif; ?&gt;
</pre>


            <p class="para">
                Dropdown pagination:
            </p>

            <pre class="programlisting brush: php">
&lt;?php if ($this-&gt;pageCount): ?&gt;
&lt;select id=&quot;paginationControl&quot; size=&quot;1&quot;&gt;
&lt;?php foreach ($this-&gt;pagesInRange as $page): ?&gt;
  &lt;?php $selected = ($page == $this-&gt;current) ? &#039; selected=&quot;selected&quot;&#039; : &#039;&#039;; ?&gt;
  &lt;option value=&quot;&lt;?php
        echo $this-&gt;url(array(&#039;page&#039; =&gt; $page));?&gt;&quot;&lt;?php echo $selected ?&gt;&gt;
    &lt;?php echo $page; ?&gt;
  &lt;/option&gt;
&lt;?php endforeach; ?&gt;
&lt;/select&gt;
&lt;?php endif; ?&gt;

&lt;script type=&quot;text/javascript&quot;
     src=&quot;http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js&quot;&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
$(&#039;paginationControl&#039;).observe(&#039;change&#039;, function() {
    window.location = this.options[this.selectedIndex].value;
})
&lt;/script&gt;
</pre>

        </div>

        <div class="section" id="zend.paginator.usage.rendering.properties"><div class="info"><h1 class="title">Listing of properties</h1></div>
            

            <p class="para">
                The following options are available to pagination control
                view partials:
            </p>

            <table id="zend.paginator.usage.rendering.properties.table" class="doctable table"><div class="info"><caption><b>Properties available to view partials</b></caption></div>
                

                
                    <thead valign="middle">
                        <tr valign="middle">
                            <th>Property</th>
                            <th>Type</th>
                            <th>Description</th>
                        </tr>

                    </thead>


                    <tbody valign="middle" class="tbody">
                        <tr valign="middle">
                            <td align="left">first</td>
                            <td align="left">integer</td>
                            <td align="left">First page number (i.e., 1)</td>
                        </tr>


                        <tr valign="middle">
                            <td align="left">firstItemNumber</td>
                            <td align="left">integer</td>
                            <td align="left">Absolute number of the first item on this page</td>
                        </tr>


                        <tr valign="middle">
                            <td align="left">firstPageInRange</td>
                            <td align="left">integer</td>
                            <td align="left">First page in the range returned by the scrolling style</td>
                        </tr>


                        <tr valign="middle">
                            <td align="left">current</td>
                            <td align="left">integer</td>
                            <td align="left">Current page number</td>
                        </tr>


                        <tr valign="middle">
                            <td align="left">currentItemCount</td>
                            <td align="left">integer</td>
                            <td align="left">Number of items on this page</td>
                        </tr>


                        <tr valign="middle">
                            <td align="left">itemCountPerPage</td>
                            <td align="left">integer</td>
                            <td align="left">Maximum number of items available to each page</td>
                        </tr>


                        <tr valign="middle">
                            <td align="left">last</td>
                            <td align="left">integer</td>
                            <td align="left">Last page number</td>
                        </tr>


                        <tr valign="middle">
                            <td align="left">lastItemNumber</td>
                            <td align="left">integer</td>
                            <td align="left">Absolute number of the last item on this page</td>
                        </tr>


                        <tr valign="middle">
                            <td align="left">lastPageInRange</td>
                            <td align="left">integer</td>
                            <td align="left">Last page in the range returned by the scrolling style</td>
                        </tr>


                        <tr valign="middle">
                            <td align="left">next</td>
                            <td align="left">integer</td>
                            <td align="left">Next page number</td>
                        </tr>


                        <tr valign="middle">
                            <td align="left">pageCount</td>
                            <td align="left">integer</td>
                            <td align="left">Number of pages</td>
                        </tr>


                        <tr valign="middle">
                            <td align="left">pagesInRange</td>
                            <td align="left">array</td>
                            <td align="left">Array of pages returned by the scrolling style</td>
                        </tr>


                        <tr valign="middle">
                            <td align="left">previous</td>
                            <td align="left">integer</td>
                            <td align="left">Previous page number</td>
                        </tr>


                        <tr valign="middle">
                            <td align="left">totalItemCount</td>
                            <td align="left">integer</td>
                            <td align="left">Total number of items</td>
                        </tr>

                    </tbody>
                
            </table>

        </div>
    </div>
</div>
        <hr />

            <table width="100%">
                <tr>
                    <td width="25%" style="text-align: left;">
                    <a href="zend.paginator.introduction.html">Introduction</a>
                    </td>

                    <td width="50%" style="text-align: center;">
                        <div class="up"><span class="up"><a href="zend.paginator.html">Zend_Paginator</a></span><br />
                        <span class="home"><a href="manual.html">Programmer's Reference Guide</a></span></div>
                    </td>

                    <td width="25%" style="text-align: right;">
                        <div class="next" style="text-align: right; float: right;"><a href="zend.paginator.configuration.html">Configuration</a></div>
                    </td>
                </tr>
            </table>
</td>
        <td style="font-size: smaller;" width="15%"> <style type="text/css">
#leftbar {
	float: left;
	width: 186px;
	padding: 5px;
	font-size: smaller;
}
ul.toc {
	margin: 0px 5px 5px 5px;
	padding: 0px;
}
ul.toc li {
	font-size: 85%;
	margin: 1px 0 1px 1px;
	padding: 1px 0 1px 11px;
	list-style-type: none;
	background-repeat: no-repeat;
	background-position: center left;
}
ul.toc li.header {
	font-size: 115%;
	padding: 5px 0px 5px 11px;
	border-bottom: 1px solid #cccccc;
	margin-bottom: 5px;
}
ul.toc li.active {
	font-weight: bold;
}
ul.toc li a {
	text-decoration: none;
}
ul.toc li a:hover {
	text-decoration: underline;
}
</style>
 <ul class="toc">
  <li class="header home"><a href="manual.html">Programmer's Reference Guide</a></li>
  <li class="header up"><a href="manual.html">Programmer's Reference Guide</a></li>
  <li class="header up"><a href="reference.html">Zend Framework Reference</a></li>
  <li class="header up"><a href="zend.paginator.html">Zend_Paginator</a></li>
  <li><a href="zend.paginator.introduction.html">Introduction</a></li>
  <li class="active"><a href="zend.paginator.usage.html">Usage</a></li>
  <li><a href="zend.paginator.configuration.html">Configuration</a></li>
  <li><a href="zend.paginator.advanced.html">Advanced usage</a></li>
 </ul>
 </td>
    </tr>
</table>

<script type="text/javascript" src="../js/shCore.js"></script>
<script type="text/javascript" src="../js/shAutoloader.js"></script>
<script type="text/javascript" src="../js/main.js"></script>

</body>
</html>